package com.guofen.dao;

import com.guofen.pojo.SjqFlocculationCraftScene;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SjqFlocculationCraftSceneMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SjqFlocculationCraftScene record);

    int insertSelective(SjqFlocculationCraftScene record);

    SjqFlocculationCraftScene selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SjqFlocculationCraftScene record);

    int updateByPrimaryKey(SjqFlocculationCraftScene record);

    SjqFlocculationCraftScene findLast();

    List<SjqFlocculationCraftScene> selectAll();

    List<SjqFlocculationCraftScene> selectByDate(@Param("startDate") String startDate,
                                                             @Param("endDate") String endDate);
}